<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    let ws=new WebSocket("wss://192.168.0.92:8443/wss");
    ws.onopen=()=>{
        console.log("连接成功");
    }
    ws.onerror=(e)=>{
        console.log(e);
    }
    ws.onclose=()=>{
        console.log("断开连接");
    }
</script>
</html>